<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="cn.ainit.sys.menu.SessionCont"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<jsp:useBean id="now" class="java.util.Date" scope="page" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/css/ainit.css"
			type="text/css"></link>
		<link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/perlize.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/save.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/initPage.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/sysReport/report.js"></script>

		<script type="text/javascript">
			$(function() {
				$("#dotted :last ").remove()
			});
		</script>
     <script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    	}
     </script>
		<style type="text/css">
table {
	border-collapse: collapse;
	text-align: center;
}

body {
	padding-right: 25px;
	padding-left: 15px;
}
#font-bodykt td,th,strong {
	font-family: '楷体';
	font-size: 14px;
}
</style>
	</head>
	<body id="font-bodykt">
		<table cellpadding="0px" cellspacing="0px" width="730px" border="0">
			<tr>
				<th colspan="40" style="font-size: 22px">
					${Company.COM_PRINTNAME}选题合同
				</th>
			</tr>
		</table>


		<table width="730px">
			<tr>
				<td style="width: 30%"></td>
				<td style="width: 20%"></td>
				<td style="width: 30%"></td>
				<td style="width: 20%"></td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<strong>打印日期</strong>
				</td>
				<td style="text-align: left;">
					<fmt:formatDate value="${now}" pattern="yyyy-MM-dd hh:mm:ss" />
				</td>
				<td>
				</td>
			</tr>
		</table>

		<table width="730px">
			<tr>
				<td style="width: 18%"></td>
				<td style="width: 15%"></td>
				<td style="width: 18%"></td>
				<td style="width: 16%"></td>
				<td style="width: 17%"></td>
				<td style="width: 16%"></td>
			</tr>
			<tr height="25" style="line-height: 20px">
				<td>
					<strong>录单员:&nbsp;</strong>
				</td>
				<td>
					<strong></strong>
				</td>
				<td>
					<strong>${data.INPUT_MAN }</strong>
				</td>
				<td>
					<strong>单据号:</strong>
				</td>
				<td>
					<strong></strong>
				</td>
				<td>
					<strong>${data.DJ_CODE}&nbsp;</strong>
				</td>
			</tr>
		</table>


		<table cellpadding="1px" cellspacing="1px" width="730px" border="1" frame="box">
			<tr height="25">
				<td  style="width: 17%">
					许可方
				</td>
				<td style="width: 15%">
					${data.jiafang }&nbsp;
				</td>
				<td style="width: 18%">
					作者/译者
				</td>
				<td style="width: 16%">
					${data.AUTHORORTRANSLATOR }&nbsp;
				</td >

				<td style="width: 18%">
					真实合同号
				</td>
				<td style="width: 16%">
					${data.ZSHETONGHAO }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					使用方
				</td>
				<td style="width: 15%">
					${data.YIFANG }&nbsp;
				</td>
				<td style="width: 18%">
					选题名称
				</td>
				<td style="width: 16%">
					${data.XT_ID }&nbsp;
				</td >

				<td style="width: 18%">
					合同类型
				</td>
				<td style="width: 16%">
					${data.contract_type }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					版税类型
				</td>
				<td style="width: 15%">
					${data.DJ_TYPE }&nbsp;
				</td>
				<td style="width: 18%">
					版税参数
				</td>
				<td style="width: 16%">
					${data.CONTRACT_TAX }&nbsp;
				</td >

				<td style="width: 18%">
					版税结算依据
				</td>
				<td style="width: 16%">
					${data.CONTRACT_GIST }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					最迟付款日
				</td>
				<td style="width: 15%">
					${data.LAST_PAY_DATE }&nbsp;
				</td>
				<td style="width: 18%">
					合同生效日期
				</td>
				<td style="width: 16%">
					${data.CONTRACT_STRAT_DATE }&nbsp;
				</td >

				<td style="width: 18%">
					合同终止日期
				</td>
				<td style="width: 16%">
					${data.CONTRACT_END_DATE }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					最低首印数量
				</td>
				<td style="width: 15%">
					${data.LOW_PRINT_AMOUNT }&nbsp;
				</td>
				<td style="width: 18%">
					录单日期
				</td>
				<td style="width: 16%">
					${data.INPUT_DATE }&nbsp;
				</td >

				<td style="width: 18%">
					合同状态
				</td>
				<td style="width: 16%">
					${data.IS_EXIST }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					电子版权
				</td>
				<td style="width: 15%">
					${data.IS_ERT }&nbsp;
				</td>
				<td style="width: 18%">
					影视改编权
				</td>
				<td style="width: 16%">
					${data.MOVIE_ERT }&nbsp;
				</td >

				<td style="width: 18%">
					海外版权
				</td>
				<td style="width: 16%">
					${data.OVERSEAS_ERT }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					其他版权
				</td>
				<td style="width: 15%">
					${data.REST_ERT }&nbsp;
				</td>
				<td style="width: 18%">
					作者/译者署名
				</td>
				<td style="width: 16%">
					${data.PEN_NAME }&nbsp;
				</td >

				<td style="width: 18%">
					发票类型
				</td>
				<td style="width: 16%">
					${data.BILL_TYPE }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					许可方联系方式
				</td>
				<td style="width: 15%">
					${data.PERSONAL_TAX_PHONE }&nbsp;
				</td>
				<td style="width: 18%">
					作者样书
				</td>
				<td style="width: 16%">
					${data.YANGSHU_AMOUNT }&nbsp;
				</td >

				<td style="width: 18%">
					促销版税
				</td>
				<td style="width: 16%">
					${data.SALES_ERT }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td>
					许可方营业执照
				</td>
				<td colspan="2">
					${data.PERSONAL_TAX_CHARTER }&nbsp;
				</td>
				<td>
					许可方身份证
				</td>
				<td colspan="2">
					${data.PERSONAL_TAX_IDCARD }&nbsp;
				</td>
			</tr>
			<tr>
				<td>
					预付金额（小写）
				</td>
				<td>
					￥${data.ADVANCE_PRICE}&nbsp;
				</td>
				<td>
					金额（大写）
				</td>
				<td colspan="3">
					${data.BIG_ADVANCE_PRICE }&nbsp;
				</td>
			</tr>
			<tr>
				<td>
					合同金额（小写）
				</td>
				<td>
					￥${data.PACT_PRICE}&nbsp;
				</td>
				<td>
					金额（大写）
				</td>
				<td colspan="3">
					${data.BIG_PACT_PRICE }&nbsp;
				</td>
			</tr>
			<tr height="25">
				<td  style="width: 17%">
					预付时间
				</td>
				<td style="width: 15%">
					${data.ADVANCE_PRICE_DATE }&nbsp;
				</td>
				<td style="width: 18%">
					合同付款时间
				</td>
				<td style="width: 16%">
					${data.LAST_PACTPAY_DATE }&nbsp;
				</td >

				<td style="width: 18%">
					许可方户名
				</td>
				<td style="width: 16%">
					${data.PERSONAL_TAX_NAME }&nbsp;
				</td>
			</tr>
			<tr height="20">
				<td>
					许可方银行账号
				</td>
				<td colspan="5">
					${data.PERSONAL_TAX_NO }&nbsp;
				</td>
			</tr>
			<tr height="20">
				<td>
					许可方银行
				</td>
				<td colspan="5">
					${data.PERSONAL_TAX_BACK }&nbsp;
				</td>
			</tr>
			<tr height="20">
				<td>
					许可方地址
				</td>
				<td colspan="5">
					${data.PERSONAL_TAX_ADDRESS }&nbsp;
				</td>
			</tr>
			<tr height="20">
				<td>
					备注
				</td>
				<td colspan="5">
					${data.memo }&nbsp;
				</td>
			</tr>
		</table>

		<table cellpadding="0px" cellspacing="0px" width="730px" border="0">
			<tr>
				<td style="width: 10%"></td>
				<td style="width: 8%"></td>
				<td style="width: 16%"></td>
				<td style="width: 11%"></td>
				<td style="width: 13%"></td>
				<td style="width: 8%"></td>
				<td style="width: 15%"></td>
				<td style="width: 6%"></td>
				<td style="width: 6%"></td>
				<td style="width: 7%"></td>
			</tr>
			<tr>
				<td>
					&nbsp;
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					分管领导审批：
				</td>
				<td>
					${data.VERIFY_MANER }
				</td>
				<td>
					审批时间：
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					财务部审核：
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					&nbsp;
				</td>
			</tr>


		</table>
	</body>
</html>